
package entities;

/**
 * @version 1.0
 * @date 13/04/2012
 * @author john
 */
public class State{
    
    private String message;
    private long line;
    private boolean informative;
    private boolean completed;

    public State(boolean complete) {
        this.completed = complete;
        this.informative = true;
    }

    public State(String message, long line, boolean informative) {
        this.message = message;
        this.line = line;
        this.informative = informative;
        this.completed = false;
    }

    public boolean isInformative() {
        return informative;
    }

    public void setInformative(boolean informative) {
        this.informative = informative;
    }

    public long getLine() {
        return line;
    }

    public void setLine(long line) {
        this.line = line;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }
    
}